import { markRaw } from "vue";
const filesNameList = [];
const files = import.meta.glob("./*.vue");

for (const key in files) {
  const fileName = key.replace(/(\.\/|\.vue)/g, "");
  filesNameList.push(fileName);
}
// 导出当前目录下的所有.vue的文件
export default markRaw(filesNameList);
